<form name="form" action="?module=website&action=AjaxSaveFreeContent" method="post" class="nyroModal">
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalTitle.html" title=$blockParams.blockLabel fullScreen=true}
<div id="modalContent" style="min-width: 700px;">
    <div id="modalTabs">
		<a class="selected" href="#" title="{t}Content{/t}" rel="tab1"><span>{t}Content{/t}</span></a></li>
        <a href="#" title="{t}Properties{/t}" rel="tab2"><span>{t}Skinning{/t}</span></a>
    </div>
    <div id="tab1" class="modalTab">
        <input id="withValid" type="hidden" name="form[withValidation]" value="true" />
        <div class="blockParamsSubmit">
            <input type="hidden" value="{$blockParams.blockId}" name="form[blockId]"/>
            <input type="hidden" id="preview_pageId" value="{$blockParams.pageId}" name="form[pageId]"/>
            <input type="hidden" value="{$blockParams.pageLang}" name="form[pageLang]"/>
            <input type="hidden" value="{$blockParams.contentId}" name="form[contentId]"/>
        </div>
        <input type="hidden" value="/themes/{$FRONT_THEME}/frontend/css/richtext.css" id="MCEtheme" />
        <input type="hidden" value="{$blockParams.pageLang}" id="MCElang" />
        <input type="hidden" value="pz-block pz-block-freeContent" id="MCEclass" />
        <textarea id="content_{$blockParams.blockId}" class="mceEditor" name="form[content]" rows="20" cols="80" style="width:100%; height: 500px;">{if isset($blockParams.content)}{$blockParams.content}{/if}</textarea>
    </div>
    <div id="tab2" class="modalTab">
        <table class="listTable" >
            <tr>
                <td><label for="form_label_class">{t}Extra CSS Class{/t}</label></td>
                <td>
                    <input type="text" id="form_label_class" name="form[class]" value="{if isset($blockParams.class)}{$blockParams.class|escape:"html"}{/if}" class="medium" />
                </td>
            </tr>
        </table>
    </div>
</div>
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalFooter.html"}
</form>
